package com.easymin.weixin.entity.zhuanche;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

// 专车订单
public class Order implements Serializable {
  private Long id;

  private String orderNo;// 订单号

  private Long passengerId;// 客户Id

  private String passengerName;// 客户名称

  private String passengerPhone;// 客户电话

  private String showPhone;// 显示电话(默认客户电话)
  
  private Double startPlaceToDriverDistance;// 乘客距司机距离  米

  private Long carId;// 车辆Id

  private Long carTypeId;// 车辆类型

  private String carTypeName;// 车辆类型名称

  private String carName;// 车辆类型名称

  private String carNumber;// 车牌号

  private Long channelId;// 渠道Id

  private String channelName;// 渠道名 app,微信,后台下单

  private Integer status;// 状态:0,新单 1,已派单 2,已接单 3,执行中 4,已完成 5,销单

  private Long employId;// 服务人员Id

  private String employName;// 服务人员名称

  private String employPhone;// 服务人员电话

  private String employNo;// 服务人员工号

  private String employPhoto;// 服务人员头像

  private Double employScore;// 服务人员综合评价

  private Long companyId;// 所属公司Id

  private String companyName;// 所属公司名称

  private String appkey;// 区分系统

  private Date created;// 下单时间

  private Date updated;

  private Boolean isClosed;// 后台催单提示框是否关闭

  private Boolean review;// 是否评价

  private Long version;// 操作版本

  private String cancelCause;// 销单原因

  private String payType;// 支付类型

  private Date lasturge;// 上次催促时间

  private Integer startWait;// 开始等待时间

  private String startAddress;// 预约地

  private String startAddressDetail;// 预约地详细地址

  private Double startLat;// 预约地纬度

  private Double startLng;// 预约地经度

  private Integer midwayWait;// 中途等待时间

  private String endAddress;// 目的地

  private String endAddressDetail;// 目的地详细地址

  private Double endLat;// 目的地纬度

  private Double endLng;// 目的地经度

  private Long employCompanyId;// 服务人员所属公司Id

  private Double employProfit;// 服务人员收入

  private Double companyProfit;// 公司收入

  private Double startPrice;// 起步价

  private Double mileage;// 服务里程

  private Integer runTime;// 服务时间

  private Double mileagePrice;// 里程费用

  private Double runTimePrice;// 时间费用

  private Long couponId;// 优惠券id

  private Double couponMoney;// 优惠券金额

  private Double budgetPay;// 预估价格

  private Double shouldPay;// 临时字段:预算时应该付钱(减优惠券以后)

  private Double realPay;// 实收金额

  private Double cashMoney;// 现金金额

  private Double signMoney;// 签单金额

  private Double balanceMoney;// 余额金额

  private Date serverTime;// 预约时间

  private Boolean zhuanchePrePay;// 临时字段

  private List<OrderMemo> orderMemos;// 订单备注

  private OrderReview orderReview;// 评价备注

  private Double prestartPrice;

  private Double premileagePrice;

  private Double prerunTimePrice;

  private Integer pretravelTime;

  private Double premileage;

  private Boolean treatment; // 是否处理过

  private Long areaId;// 收费标准Id

  public Long getAreaId() {
    return areaId;
  }

  public void setAreaId(Long areaId) {
    this.areaId = areaId;
  }

  public String getCarName() {
    return carName;
  }

  public void setCarName(String carName) {
    this.carName = carName;
  }

  public Boolean getTreatment() {
    return treatment;
  }

  public void setTreatment(Boolean treatment) {
    this.treatment = treatment;
  }

  public Double getPrestartPrice() {
    return prestartPrice;
  }

  public void setPrestartPrice(Double prestartPrice) {
    this.prestartPrice = prestartPrice;
  }

  public Double getPremileagePrice() {
    return premileagePrice;
  }

  public void setPremileagePrice(Double premileagePrice) {
    this.premileagePrice = premileagePrice;
  }

  public Double getPrerunTimePrice() {
    return prerunTimePrice;
  }

  public void setPrerunTimePrice(Double prerunTimePrice) {
    this.prerunTimePrice = prerunTimePrice;
  }

  public Integer getPretravelTime() {
    return pretravelTime;
  }

  public void setPretravelTime(Integer pretravelTime) {
    this.pretravelTime = pretravelTime;
  }

  public Double getPremileage() {
    return premileage;
  }

  public void setPremileage(Double premileage) {
    this.premileage = premileage;
  }

  public List<OrderMemo> getOrderMemos() {
    return orderMemos;
  }

  public void setOrderMemos(List<OrderMemo> orderMemos) {
    this.orderMemos = orderMemos;
  }

  public String getCarTypeName() {
    return carTypeName;
  }

  public void setCarTypeName(String carTypeName) {
    this.carTypeName = carTypeName;
  }


  public String getStartAddressDetail() {
    return startAddressDetail;
  }

  public void setStartAddressDetail(String startAddressDetail) {
    this.startAddressDetail = startAddressDetail;
  }

  public Double getShouldPay() {
    return shouldPay;
  }

  public void setShouldPay(Double shouldPay) {
    this.shouldPay = shouldPay;
  }

  public String getEndAddressDetail() {
    return endAddressDetail;
  }

  public void setEndAddressDetail(String endAddressDetail) {
    this.endAddressDetail = endAddressDetail;
  }

  public OrderReview getOrderReview() {
    return orderReview;
  }

  public void setOrderReview(OrderReview orderReview) {
    this.orderReview = orderReview;
  }

  public Boolean getZhuanchePrePay() {
    return zhuanchePrePay;
  }

  public void setZhuanchePrePay(Boolean zhuanchePrePay) {
    this.zhuanchePrePay = zhuanchePrePay;
  }

  public String getEmployNo() {
    return employNo;
  }

  public void setEmployNo(String employNo) {
    this.employNo = employNo;
  }

  public String getEmployPhoto() {
    return employPhoto;
  }

  public void setEmployPhoto(String employPhoto) {
    this.employPhoto = employPhoto;
  }

  public Double getEmployScore() {
    return employScore;
  }

  public void setEmployScore(Double employScore) {
    this.employScore = employScore;
  }


  private static final long serialVersionUID = 1L;

  public Long getId() {
    return id;
  }

  public void setId(Long id) {
    this.id = id;
  }

  public String getOrderNo() {
    return orderNo;
  }

  public void setOrderNo(String orderNo) {
    this.orderNo = orderNo == null ? null : orderNo.trim();
  }

  public Long getPassengerId() {
    return passengerId;
  }

  public void setPassengerId(Long passengerId) {
    this.passengerId = passengerId;
  }

  public String getPassengerName() {
    return passengerName;
  }

  public void setPassengerName(String passengerName) {
    this.passengerName = passengerName == null ? null : passengerName.trim();
  }

  public String getPassengerPhone() {
    return passengerPhone;
  }

  public void setPassengerPhone(String passengerPhone) {
    this.passengerPhone = passengerPhone == null ? null : passengerPhone.trim();
  }

  public String getShowPhone() {
    return showPhone;
  }

  public void setShowPhone(String showPhone) {
    this.showPhone = showPhone;
  }

  public Long getCarId() {
    return carId;
  }

  public void setCarId(Long carId) {
    this.carId = carId;
  }

  public Long getCarTypeId() {
    return carTypeId;
  }

  public void setCarTypeId(Long carTypeId) {
    this.carTypeId = carTypeId;
  }

  public String getCarNumber() {
    return carNumber;
  }

  public void setCarNumber(String carNumber) {
    this.carNumber = carNumber == null ? null : carNumber.trim();
  }

  public Long getChannelId() {
    return channelId;
  }

  public void setChannelId(Long channelId) {
    this.channelId = channelId;
  }

  public String getChannelName() {
    return channelName;
  }

  public void setChannelName(String channelName) {
    this.channelName = channelName == null ? null : channelName.trim();
  }

  public Integer getStatus() {
    return status;
  }

  public void setStatus(Integer status) {
    this.status = status;
  }

  public Long getEmployId() {
    return employId;
  }

  public void setEmployId(Long employId) {
    this.employId = employId;
  }

  public String getEmployName() {
    return employName;
  }

  public void setEmployName(String employName) {
    this.employName = employName == null ? null : employName.trim();
  }

  public String getEmployPhone() {
    return employPhone;
  }

  public void setEmployPhone(String employPhone) {
    this.employPhone = employPhone == null ? null : employPhone.trim();
  }

  public Long getCompanyId() {
    return companyId;
  }

  public void setCompanyId(Long companyId) {
    this.companyId = companyId;
  }

  public String getCompanyName() {
    return companyName;
  }

  public void setCompanyName(String companyName) {
    this.companyName = companyName == null ? null : companyName.trim();
  }

  public String getAppkey() {
    return appkey;
  }

  public void setAppkey(String appkey) {
    this.appkey = appkey == null ? null : appkey.trim();
  }

  public Date getCreated() {
    return created;
  }

  public void setCreated(Date created) {
    this.created = created;
  }

  public Date getUpdated() {
    return updated;
  }

  public void setUpdated(Date updated) {
    this.updated = updated;
  }

  public Boolean getIsClosed() {
    return isClosed;
  }

  public void setIsClosed(Boolean isClosed) {
    this.isClosed = isClosed;
  }

  public Boolean getReview() {
    return review;
  }

  public void setReview(Boolean review) {
    this.review = review;
  }

  public Long getVersion() {
    return version;
  }

  public void setVersion(Long version) {
    this.version = version;
  }

  public String getCancelCause() {
    return cancelCause;
  }

  public void setCancelCause(String cancelCause) {
    this.cancelCause = cancelCause == null ? null : cancelCause.trim();
  }

  public String getPayType() {
    return payType;
  }

  public void setPayType(String payType) {
    this.payType = payType == null ? null : payType.trim();
  }

  public Date getLasturge() {
    return lasturge;
  }

  public void setLasturge(Date lasturge) {
    this.lasturge = lasturge;
  }

  public Integer getStartWait() {
    return startWait;
  }

  public void setStartWait(Integer startWait) {
    this.startWait = startWait;
  }

  public String getStartAddress() {
    return startAddress;
  }

  public void setStartAddress(String startAddress) {
    this.startAddress = startAddress == null ? null : startAddress.trim();
  }

  public Double getStartLat() {
    return startLat;
  }

  public void setStartLat(Double startLat) {
    this.startLat = startLat;
  }

  public Double getStartLng() {
    return startLng;
  }

  public void setStartLng(Double startLng) {
    this.startLng = startLng;
  }

  public Integer getMidwayWait() {
    return midwayWait;
  }

  public void setMidwayWait(Integer midwayWait) {
    this.midwayWait = midwayWait;
  }

  public String getEndAddress() {
    return endAddress;
  }

  public void setEndAddress(String endAddress) {
    this.endAddress = endAddress == null ? null : endAddress.trim();
  }

  public Double getEndLat() {
    return endLat;
  }

  public void setEndLat(Double endLat) {
    this.endLat = endLat;
  }

  public Double getEndLng() {
    return endLng;
  }

  public void setEndLng(Double endLng) {
    this.endLng = endLng;
  }

  public Long getEmployCompanyId() {
    return employCompanyId;
  }

  public void setEmployCompanyId(Long employCompanyId) {
    this.employCompanyId = employCompanyId;
  }

  public Double getEmployProfit() {
    return employProfit;
  }

  public void setEmployProfit(Double employProfit) {
    this.employProfit = employProfit;
  }

  public Double getCompanyProfit() {
    return companyProfit;
  }

  public void setCompanyProfit(Double companyProfit) {
    this.companyProfit = companyProfit;
  }

  public Double getStartPrice() {
    return startPrice;
  }

  public void setStartPrice(Double startPrice) {
    this.startPrice = startPrice;
  }

  public Double getMileage() {
    return mileage;
  }

  public void setMileage(Double mileage) {
    this.mileage = mileage;
  }

  public Integer getRunTime() {
    return runTime;
  }

  public void setRunTime(Integer runTime) {
    this.runTime = runTime;
  }

  public Double getMileagePrice() {
    return mileagePrice;
  }

  public void setMileagePrice(Double mileagePrice) {
    this.mileagePrice = mileagePrice;
  }

  public Double getRunTimePrice() {
    return runTimePrice;
  }

  public void setRunTimePrice(Double runTimePrice) {
    this.runTimePrice = runTimePrice;
  }

  public Long getCouponId() {
    return couponId;
  }

  public void setCouponId(Long couponId) {
    this.couponId = couponId;
  }

  public Double getCouponMoney() {
    return couponMoney;
  }

  public void setCouponMoney(Double couponMoney) {
    this.couponMoney = couponMoney;
  }

  public Double getBudgetPay() {
    return budgetPay;
  }

  public void setBudgetPay(Double budgetPay) {
    this.budgetPay = budgetPay;
  }

  public Double getRealPay() {
    return realPay;
  }

  public void setRealPay(Double realPay) {
    this.realPay = realPay;
  }

  public Double getCashMoney() {
    return cashMoney;
  }

  public void setCashMoney(Double cashMoney) {
    this.cashMoney = cashMoney;
  }

  public Double getSignMoney() {
    return signMoney;
  }

  public void setSignMoney(Double signMoney) {
    this.signMoney = signMoney;
  }

  public Double getBalanceMoney() {
    return balanceMoney;
  }

  public void setBalanceMoney(Double balanceMoney) {
    this.balanceMoney = balanceMoney;
  }

  public Date getServerTime() {
    return serverTime;
  }

  public void setServerTime(Date serverTime) {
    this.serverTime = serverTime;
  } 

  public Double getStartPlaceToDriverDistance() {
	return startPlaceToDriverDistance;
}

public void setStartPlaceToDriverDistance(Double startPlaceToDriverDistance) {
	this.startPlaceToDriverDistance = startPlaceToDriverDistance;
}

@Override
  public String toString() {
    StringBuilder sb = new StringBuilder();
    sb.append(getClass().getSimpleName());
    sb.append(" [");
    sb.append("Hash = ").append(hashCode());
    sb.append(", id=").append(id);
    sb.append(", orderNo=").append(orderNo);
    sb.append(", passengerId=").append(passengerId);
    sb.append(", passengerName=").append(passengerName);
    sb.append(", passengerPhone=").append(passengerPhone);
    sb.append(", carId=").append(carId);
    sb.append(", carTypeId=").append(carTypeId);
    sb.append(", carNumber=").append(carNumber);
    sb.append(", channelId=").append(channelId);
    sb.append(", channelName=").append(channelName);
    sb.append(", status=").append(status);
    sb.append(", employId=").append(employId);
    sb.append(", employName=").append(employName);
    sb.append(", employPhone=").append(employPhone);
    sb.append(", companyId=").append(companyId);
    sb.append(", companyName=").append(companyName);
    sb.append(", appkey=").append(appkey);
    sb.append(", created=").append(created);
    sb.append(", updated=").append(updated);
    sb.append(", isClosed=").append(isClosed);
    sb.append(", review=").append(review);
    sb.append(", version=").append(version);
    sb.append(", cancelCause=").append(cancelCause);
    sb.append(", payType=").append(payType);
    sb.append(", lasturge=").append(lasturge);
    sb.append(", startWait=").append(startWait);
    sb.append(", startAddress=").append(startAddress);
    sb.append(", startLat=").append(startLat);
    sb.append(", startLng=").append(startLng);
    sb.append(", midwayWait=").append(midwayWait);
    sb.append(", endAddress=").append(endAddress);
    sb.append(", endLat=").append(endLat);
    sb.append(", endLng=").append(endLng);
    sb.append(", employCompanyId=").append(employCompanyId);
    sb.append(", employProfit=").append(employProfit);
    sb.append(", companyProfit=").append(companyProfit);
    sb.append(", startPrice=").append(startPrice);
    sb.append(", mileage=").append(mileage);
    sb.append(", runTime=").append(runTime);
    sb.append(", mileagePrice=").append(mileagePrice);
    sb.append(", runTimePrice=").append(runTimePrice);
    sb.append(", couponMoney=").append(couponMoney);
    sb.append(", budgetPay=").append(budgetPay);
    sb.append(", realPay=").append(realPay);
    sb.append(", cashMoney=").append(cashMoney);
    sb.append(", signMoney=").append(signMoney);
    sb.append(", balanceMoney=").append(balanceMoney);
    sb.append(", serverTime=").append(serverTime);
    sb.append(", serialVersionUID=").append(serialVersionUID);
    sb.append("]");
    return sb.toString();
  }
}
